<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>批量导入学生成绩</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
<c:import url="/WEB-INF/jsp/plugin/datetimepicker.jsp" />
<c:import url="/WEB-INF/jsp/plugin/bootstrap-table.jsp" />
<c:import url="/WEB-INF/jsp/plugin/loading.jsp" />
<script type="text/javascript" src="static/js/bootbox.4.4.0.min.js"></script>
<c:import url="/WEB-INF/jsp/plugin/vue.jsp" />
<script type="text/javascript" src="static/js/score/import.js"></script>
</head>
<body>
	<div id="app" class="default-theme container-fluid iframe">
		<div class="row">
			<div class="col-md-3">
				<div>
					<div class="form-group">
						<h3>批量导入学生成绩</h3>
					</div>
					<div class="form-group">
						<a href="static/demo/score-demo.xlsx">点击模版下载</a>
					</div>
					<div class="form-group">
						<label for="file">选择文件</label>
						<input type="text" name="file-text" class="form-control"
							readonly="readonly" placeholder="选择文件" />
						<input type="file"
							name="file" style="display: none;" readonly="readonly"
							accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
						</div>
					</div>
					<div class="form-group">
						<button class="btn btn-primary" @click="importScore">导入</button>
					</div>
					<div class="form-group alert alert-info" role="alert">单元格格式推荐设置为文本</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>